<template>
  <div class="list banxin">
    <div class="list_in tanxin">
     <Listleft />
     <Listright />
    </div>
  </div>
</template>

<script>
import Listleft from '@/components/List/Listleft.vue'
import Listright from '@/components/List/Listright.vue'
export default {
  data() {
    return {
      
    };
  },
  components:{
    Listleft,
    Listright
  },
  // 事件监听
  watch: {
      "$route.params.id": {
          handler(newVal, oldVal) {
              console.log(newVal, oldVal);
              if (newVal != oldVal) {
                  this.$router.go(0);
              }
          }
      }
  },
};
</script>
 
<style lang = "less" scoped>
@import "../../assets/base";
.list_in {
  background-color: rgb(201, 192, 196);
}
</style>